<%@ page language="java" contentType="text/html; charset=UTF8" pageEncoding="UTF8"%>
<%@ page import="poketrade.entities.User" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" media="screen" type="text/css" title="Menu" href="design2.css" />
<link href='http://fonts.googleapis.com/css?family=Chau+Philomene+One' rel='stylesheet' type='text/css'>
<title>Insert title here</title>
</head>
<body>
  <form action="ModifyUserServlet" method="post" class="modification">
  <% User u = (User)request.getAttribute("user");%>
	Adresse e-mail: <input type="email" name="email" value="<%=u.getEmail()%>"><br><br>
	Adresse postale: <input type="text" name="adresse" value="<%=u.getAdresse()%>"><br><br>
	Ville: <input type="text" name="ville" value="<%=u.getVille()%>" ><br><br>
	Département:<input type="text" name="dep" value="<%=u.getDepartement()%>"><br><br>
	<input type="submit" name="option" value="modifier compte" class="boutonModif" >
	</form>
</body>
</html>